상속: MonoBehaviour
예제 #1
0
 void Start()
 {
     nodeTransform = GameObject.Find("Node1").transform;
     currentNode = nodeTransform.GetComponent<Node>();
     test = GetComponent<LeftRightTest>();
     spawn = parent.GetComponent<SpawnManager>();
     velocityL = leftEngine.GetComponent<RigidbodyInfo>();
     velocityR = rightEngine.GetComponent<RigidbodyInfo>();
     nodeStuffs = GetComponent<NodeRespawn>();
 }
예제 #2
0
 void Start()
 {
     target = GameObject.Find("Node1").transform;
     spawn = GetComponent<NodeRespawn>();
 }