// Use this for initialization override protected void Start() { base.Start(); sustained = true; triggered = true; toggle = false; inkiMovement = host.GetComponent <KoMovement>(); }
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; }
protected override void Start() { toggle = true; triggered = false; Ko = host.GetComponent <KoMovement>(); }