예제 #1
0
        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>();
        }
예제 #2
0
        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;
             * }
             */
        }
예제 #3
0
        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            CTimer = Boss.ChargeTimeRight;
        }
예제 #4
0
        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            RstTimer = Boss.ResetTimer;
        }
예제 #5
0
 /// <summary>
 /// Used when state starts
 /// </summary>
 /// <param name="boss"></param>
 public virtual void OnBegin(BreuBossController boss)
 {
     this.Boss = boss;
 }
예제 #6
0
        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            ITimer = Boss.IdleTimer;
        }