コード例 #1
0
ファイル: GTButton.cs プロジェクト: bitomule/GTInput
 void Start()
 {
     _InputManager = GTInputManager.GetReference();
     _Name = transform.name;
     _InputManager.SuscribeButton(_Name);
 }
コード例 #2
0
ファイル: GTInputManager.cs プロジェクト: bitomule/GTInput
 // Use this for initialization
 void Awake()
 {
     Buttons = new Dictionary<string,ButtonInfo>();
     instance = this;
 }