示例#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;
        }