Exemplo n.º 1
0
 // Use this for initialization
 override protected void Start()
 {
     base.Start();
     sustained    = true;
     triggered    = true;
     toggle       = false;
     inkiMovement = host.GetComponent <KoMovement>();
 }
Exemplo n.º 2
0
 protected override void Start()
 {
     amaya       = (GameObject.FindGameObjectWithTag("OneAndOnlyAmaya"));
     finaleTimer = new Timer(3f);
     resetTimer  = new Timer(mercyTime);
     base.Start();
     inkiMovement    = host.GetComponent <KoMovement>();
     controller      = host.GetComponent <SpiritController2D>();
     toggle          = false; // turns itself off after a time.
     triggered       = true;  // one-off invoked by event.
     invoked         = false;
     wasInvoked      = false;
     OnTrigger       = false;
     seesAmaya       = false;
     sawAmaya        = false;
     seesKo          = false;
     actionTriggered = false;
     sustained       = false;
 }
Exemplo n.º 3
0
 protected override void Start()
 {
     toggle    = true;
     triggered = false;
     Ko        = host.GetComponent <KoMovement>();
 }