Exemplo n.º 1
0
        // Use this for initialization
        void Start()
        {
            if (Instance != null)
            {
                throw new UnityException("THERE CAN BE ONLY ONE!");
            }
            Instance = this;

            InitState();
            InitObjectAlpha();
            InitActivationListener();
            InitHandListener();
        }
Exemplo n.º 2
0
        // Use this for initialization
        void Start()
        {
            if (Instance != null) {
                                throw new UnityException ("THERE CAN BE ONLY ONE!");
                        }
                        Instance = this;

                        InitState ();
                        InitObjectAlpha ();
                        InitActivationListener ();
                        InitHandListener ();
        }