コード例 #1
0
 void Start()
 {
     collider = GetComponent <BoxCollider>();
     s        = collider.size;
     c        = collider.center;
     running  = GameObject.Find("GameLogic").GetComponent <Running>();
 }
コード例 #2
0
 void Start()
 {
     collider = GetComponent<BoxCollider>();
     s = collider.size;
     c = collider.center;
     running = GameObject.Find("GameLogic").GetComponent<Running>();
 }
コード例 #3
0
 public ResponseGameState()
 {
     gameObject = GameObject.Find("GameLogic");
     //Debug.Log(gameObject.name);
     running = gameObject.GetComponent <Running>();
 }
コード例 #4
0
 public ResponseHeartbeat()
 {
     gameObject = GameObject.Find("Running");
     running    = gameObject.GetComponent <Running>();
 }