Ejemplo n.º 1
0
        protected virtual void Initialize()
        {
            if (_initialized)
                throw new MUIException("Control already initialized.");

            _underlying = new UnderlyingObject();

            _initialized = true;
        }
Ejemplo n.º 2
0
        protected virtual void Initialize()
        {
            if (_initialized)
            {
                throw new MUIException("Control already initialized.");
            }

            _underlying = new UnderlyingObject();

            _initialized = true;
        }
Ejemplo n.º 3
0
 public void RemoveChild(UnderlyingObject obj)
 {
     obj.GameObject.transform.SetParent(null);
 }
Ejemplo n.º 4
0
 public void AddChild(UnderlyingObject obj)
 {
     obj.GameObject.transform.SetParent(GameObject.transform);
 }
Ejemplo n.º 5
0
 public void RemoveChild(UnderlyingObject obj)
 {
     obj.GameObject.transform.SetParent(null);
 }
Ejemplo n.º 6
0
 public void AddChild(UnderlyingObject obj)
 {
     obj.GameObject.transform.SetParent(GameObject.transform);
 }