예제 #1
0
        void Awake()
        {
            if (inputHandlerModel == null)
            {
                inputHandlerModel = this;
            }

            if (this != inputHandlerModel)
            {
                Destroy(this);
            }
        }
예제 #2
0
 void OnEnable()
 {
     model = (InputHandlerModel)target;
 }