public static ResizeMananger getInstance() { if (instance == null) { instance = new ResizeMananger(); } return(instance); }
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; }
protected virtual void Update() { ResizeMananger.getInstance().resize(Screen.width, Screen.height); TickManager.getInstance().tick(); }