Ejemplo n.º 1
0
 void Start()
 {
     sleepwalker     = FindObjectOfType <Sleepwalker> ();
     sheepController = FindObjectOfType <SheepController> ();
     checkPoint      = FindObjectOfType <CheckpointScript> ();
     //	fallingSlime = GetComponent<Rigidbody2D>();
 }
 void Start()
 {
     rb2d        = gameObject.GetComponent <Rigidbody2D>();
     anim        = gameObject.GetComponent <Animator>();
     sleepwalker = FindObjectOfType <Sleepwalker> ();
     facingRight = true;
     isNinja     = false;
 }
 // Use this for initialization
 void Start()
 {
     sleepwalker = FindObjectOfType <Sleepwalker> ();
 }
 void Start()
 {
     sheepController = FindObjectOfType <SheepController> ();
     sleepwalker     = FindObjectOfType <Sleepwalker> ();
 }
 void Start()
 {
     rb2d        = gameObject.GetComponent <Rigidbody2D>();
     anim        = gameObject.GetComponent <Animator>();
     sleepwalker = FindObjectOfType <Sleepwalker> ();
 }
Ejemplo n.º 6
0
 // Use this for initialization
 void Start()
 {
     levelManager = FindObjectOfType <LevelManager> ();
     sleepwalker  = FindObjectOfType <Sleepwalker> ();
     anim         = gameObject.GetComponent <Animator>();
 }