예제 #1
0
 // Use this for initialization
 void Start()
 {
     boneProjPos     = transform.Find("boneProjectilePos");
     bloodProjPos    = transform.Find("bloodProjectilePos");
     phaseTwoCounter = 1.5f;
     Wendigo         = GetComponent <Boss03Manager>();
     // = GetComponent<Phase2BoneProj>();
     BloodChangeTimer   = 0;
     BloodRotationAngle = 0;
     isPushingBack      = false;
     player             = GetComponent <PlayerManager>();
     PBR               = GetComponent <PushBackRoar>();
     rain              = GetComponent <RainingBlood>();
     EHM               = GetComponent <EnemyHealthManager>();
     SORL              = FindObjectOfType <StartOrResetLevel>();
     pushBackTimer     = 7f;
     phaseTwoActivated = false;
     BeginPhaseTwo     = 3f;
     RainBloodCounter  = 2f;
     StartedRaining    = false;
     isSpitting        = false;
     isRoaring         = false;
     hasSpitOnce       = false;
     hasJumpedTwice    = 0;
     hasWaited         = false;
     rainRoarAnim      = false;
 }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        EHM     = GetComponent <EnemyHealthManager>();
        PBR     = GetComponent <PushBackRoar>();
        Wendigo = GetComponent <Boss03Manager>();
        SORL    = FindObjectOfType <StartOrResetLevel>();

        phaseThreeCounter = 2.5f;
        BeginPhaseThree   = 2f;

        phaseThreeActivated = false;
        isPushingBack       = false;
        hasFlipped          = false;
        isRoaring           = false;
        BoomerangIsOut      = false;

        RoarCounter    = 0;
        boomerangTimer = 0.5f;
    }