Ejemplo n.º 1
0
 private void Start()
 {
     if (node.platformType == PlatformNode.PlatformType.BUTTON)
     {
         button = GetComponent <ButtonPlatform>();
     }
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     ghostPlatformButton = GameObject.FindGameObjectWithTag("GhostPlatformButton").GetComponent <ButtonPlatform>();
     nextPos             = startPos.position;
 }