Exemplo n.º 1
0
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Z))
     {
         KeyObjManager.GetInstance().NearKeyOK("Z");
     }
     else if (Input.GetKeyDown(KeyCode.X))
     {
         KeyObjManager.GetInstance().NearKeyOK("X");
     }
     else if (Input.GetKeyDown(KeyCode.C))
     {
         KeyObjManager.GetInstance().NearKeyOK("C");
     }
 }
Exemplo n.º 2
0
 void Start()
 {
     instance = this;
     KeyObjDatas = new KeyObj[40];
 }
Exemplo n.º 3
0
 void Start()
 {
     instance    = this;
     KeyObjDatas = new KeyObj[40];
 }