public void ChangeFather(PlanetScene node) { if (fatherNode != null) { fatherNode.RemoveChild(this, false); } node.AddChild(this); fatherNode = node; }
public void ChangeFather(PlanetScene node) { if(fatherNode!= null) fatherNode.RemoveChild(this,false); node.AddChild(this); fatherNode = node; }