public IGameObject CopyExistingGameObject(IGameObject toCopy) { var gameObject = GetRawGameObject(); gameObject.Active = false; toCopy.CopyInto(gameObject); gameObject.Initialize(); return(gameObject); }
public IGameObject CopyExistingGameObject(IGameObject toCopy) { var gameObject = GetRawGameObject(); gameObject.Active = false; toCopy.CopyInto(gameObject); gameObject.Initialize(); return gameObject; }