Renderer rend; //used to change color when charging public override void OnBegin(BreuBossController boss) { base.OnBegin(boss); CTimer = Boss.ChargeTimeLeft; rend = Boss.HandLeft.GetComponent <Renderer>(); }
Renderer rend; //used to change color when charging public override void OnBegin(BreuBossController boss) { base.OnBegin(boss); CTimer = Boss.ChargeTimeHead; rend = Boss.Head.GetComponent <Renderer>(); /* * if (Boss.HeadAttackWarningRenderer != null) * { * Boss.HeadAttackWarningRenderer.enabled = true; * } */ }
public override void OnBegin(BreuBossController boss) { base.OnBegin(boss); CTimer = Boss.ChargeTimeRight; }
public override void OnBegin(BreuBossController boss) { base.OnBegin(boss); RstTimer = Boss.ResetTimer; }
/// <summary> /// Used when state starts /// </summary> /// <param name="boss"></param> public virtual void OnBegin(BreuBossController boss) { this.Boss = boss; }
public override void OnBegin(BreuBossController boss) { base.OnBegin(boss); ITimer = Boss.IdleTimer; }