public static ResizeMananger getInstance()
 {
     if (instance == null)
     {
         instance = new ResizeMananger();
     }
     return(instance);
 }
Пример #2
0
        protected virtual void Start()
        {
            instance = this;

            sceneMachine = new StateMachine();

            ResizeMananger.Add(this);

            InputManager.getInstance().registKeyDown(KeyCode.UpArrow, keyDebugHandle, false, true);
        }
        public ResizeMananger()
        {
            resizeList = new List <Action <float, float> >();

            instance = this;
        }
Пример #4
0
 protected virtual void Update()
 {
     ResizeMananger.getInstance().resize(Screen.width, Screen.height);
     TickManager.getInstance().tick();
 }