static public InputEventCtrl GetInstance() { if (_Instance == null) { GameObject obj = new GameObject("_InputEvent"); _Instance = obj.AddComponent <InputEventCtrl>(); _Instance.InitPlayerDirData(); } return(_Instance); }