protected virtual void Initialize() { if (_initialized) throw new MUIException("Control already initialized."); _underlying = new UnderlyingObject(); _initialized = true; }
protected virtual void Initialize() { if (_initialized) { throw new MUIException("Control already initialized."); } _underlying = new UnderlyingObject(); _initialized = true; }
public void RemoveChild(UnderlyingObject obj) { obj.GameObject.transform.SetParent(null); }
public void AddChild(UnderlyingObject obj) { obj.GameObject.transform.SetParent(GameObject.transform); }