Todd Bridges has apologised after labelling suicide "a very selfish cast" just hours after news broke of Robin Williams’ death.
The Different Strokes actor, 49, quickly deleted the offending Twitter post after he received a backlash from followers.
Williams is suspected to have taken his own life after he was found dead in his home in California. His publicist later confirmed that he had been struggling from severe depression.
"I would like to apologize for the terrible timing of me comments that I made in reference to the untimely death of Robin Williams," Bridges wrote. "My best friend committed suicide a few months ago, and I was devastated to discover that he did not solicit my help.
"I am sure that my attitude toward Williams's death was a delayed reaction of my best friend's death."
Robin Williams: A career in pictures
Robin Williams: A career in pictures
1/30 Robin Williams
1980: Robin Williams in the world-famous Mork and Mindy series that launched his career.
2/30 Robin Williams
1984: Williams in 'Moscow On The Hudson'. The actor earned his first Golden Globe nomination for his turn as a Russian circus performer in this 1984 hit.
3/30 Robin Williams
1987: Williams in the critically acclaimed 'Good Morning, Vietnam'. Williams ad-libbed all the radio broadcast scenes from this 1987 film about a radio DJ sent to Vietnam to entertain the US troops serving out there.
4/30 Robin Williams
1989: Robin Williams appeared with Robert Sean Leonard and Josh Charles in 'Dead Poets Society' as English teacher John Keating - or the “slightly more daring O Captain, My Captain”.
5/30 Robin Williams
1990: Williams and Robert De Niro in Awakenings, an emotional film that saw Williams portray a British neurologist who administered a drug to catatonic patients that briefly awoke them from decades of catatonia.
6/30 Robin Williams
1991: Williams appeared as an adult Peter Pan forced to return to Neverland to rescue his children in 'Hook'. The film received mixed reviews but proved popular at the box office.
7/30 Robin Williams
1992: Williams in 'Toys'. The film followed a military general after he inherits a toy factory and decides to produce war toys.
8/30 Robin Williams
1993: Williams appeared in one of his best-loved roles in Mrs Doubtfire, where he played an actor disguising himself as a female housekeeper in order to spend more time with his children.
9/30 Robin Williams
1995: Williams appeared as man released from a board game after being trapped for decades inside it in the blockbuster 'Jumanji'.
10/30 Robin Williams
1996: Williams starred opposite Jennifer Lopez in 'Jack', a film about a young boy who ages four times faster than other children.
11/30 Robin Williams
1997: Williams appeared alongside Matt Damon in 'Good Will Hunting', a film that won him an Oscar for his portrayal of psychologist Sean Maguire. As he accepted his award, a touched Williams warned the audience: "Oh man, this might be the one time I’m speechless".
12/30 Robin Williams
1997: The box-office hit Flubber saw Williams take the role of Professor Philip Brainard, who creates the unstoppable green goo Flubber in his bid to produce a new energy source.
13/30 Robin Williams
1998: Williams gave a poignant turn as Dr Hunter 'Patch' Adams, an unqualified doctor who treats patients with laughter in 'Patch Adams' .
14/30 Robin Williams
1998: Williams stars alongside Cuba Gooding, Jr in 'What Dreams May Come', a film that follows American physician Chris Nielsen's journey through the afterlife after he is killed in a car crash.
15/30 Robin Williams
1999: Robin Williams, Bob Balaban (left), and Armin Mueller-Stahl star in the movie 'Jakob the Liar' about a Jewish shopkeeper who uses his imagination to engender hope throughout a Polish ghetto in 1944.
16/30 Robin Williams
1999: American Science Fiction drama 'Bicentennial Man' followed an android (Williams) as he experiences emotions and becomes more human
17/30 Robin Williams
2002: Williams took a more sinister role as reclusive crime writer and murderer Walter Finch in 'Insomnia'.
18/30 Robin Williams
2002: Williams undertook an unsettling, psychopathic role in One Hour Photo, where he played a photo lab technician obsessed with a family who frequented the store.
19/30 Robin Williams
2002: Williams starred alongside Danny DeVito in 'Death to Smoochy', a film about a corrupt children's television host disgraced by an FBI sting.
20/30 Robin Williams
2005: Robin Williams stars in 'The Big White', a film about a financially struggling travel agent trying to make a bogus life insurance claim in order to pay for his wife's Tourette treatment.
21/30 Robin Williams
2006: Williams and Ben Stiller star in 'Night at the Museum'. Williams will appear in upcoming film "Night at the Museum: Secret of the Tomb," playing the statue of Teddy Roosevelt who comes to life at night.
22/30 Robin Williams
2006: Robin Williams, Jeff Daniels and Cheryl Hines star in roadtrip comedy 'R.V.', which followed the tribulations of a dysfunctional family.
23/30 Robin Williams
2006: Williams took the leading role in the political comedy drama 'Man of the Year' about a comedian who decides to run for President and finds himself mistakenly elected.
24/30 Robin Williams
2007: Robin Williams and Freddie Highmore in 'August Rush', where Williams played a homeless musician who teaches children living on the streets music and employs them as performers.
25/30 Robin Williams
2007: Robin Williams, Mandy Moore and John Krasinski starred in 'License to Wed'. Williams played a reverend who places a couple through a series of tests to see if they should marry in his church. The rom-com was poorly received by critics.
26/30 Robin Williams
2010: Robin Williams and John Travolta star in 'Old Dogs', a comedy that sees two friends and owners of a sports marketing firm struggle to deal with seven-year-old twins placed in their care. The film was nominated for four Golden Raspberry Awards.
27/30 Robin Williams
2013: Susan Sarandon, Robert De Niro and Robin Williams star in The Big Wedding
28/30 Robin Williams
2013: Williams starred as President Eisenhower in Lee Daniels' 'The Butler'.
29/30 Robin Williams
2014: Robin Williams with his Mork and Mindy co-star Pam Dawber in The Crazy Ones series. It was axed after one season.
30/30 Robin Williams
2014: Rob Williams stars in 'The Angriest Man in Brooklyn', the story of a bad-tempered man mistakenly told he has 90 minutes to live.
"I apologize for my negative comment, and I ask forgiveness for any pain that I have caused anyone," he added. "Rest in peace Robin Williams I hope you found what you were looking for."
I would like to apologize for the terrible timing of me comments that I made in reference to the untimely death of Robin Williams.Todd Bridges (@ToddBridges) August 12, 2014
my bestf riend committed suicide a few months ago, and I was devastated to discover that he did not solicit my help. I am sure that myTodd Bridges (@ToddBridges) August 12, 2014
I am sure that my attitude toward Williams's death was a delayed reaction of my best friend's death. Again, I apologizeTodd Bridges (@ToddBridges) August 12, 2014
Again, I apologize for my negative comment, and I ask forgiveness for any pain that I have causedTodd Bridges (@ToddBridges) August 12, 2014
anyone.Todd Bridges (@ToddBridges) August 12, 2014
His comments come as comedian Jason Manford tweeted an open letter, urging sufferers of depression to seek help for their condition.
"If depression can (allegedly) kill Robin Williams, one of the world's greatest funny men, well it can get any of us at any time," he wrote.
"If the Genie from Aladdin can suffer and the DJ in Good Morning Vietnam can be affected by it, then so can you, or your child or friend or work colleague."
"The world needs you even if you don't think it does," he ended his post. "I promise, we need you here, now."