示例#1
0
 void Start()
 {
     //actualStage =   BossStage.ENTERING;
     mm         = GameObject.Find("Managers").GetComponent <MapManger>();
     lerpTime   = 0.0f;
     fbs        = GetComponentInChildren <FirstBossStage>();
     sbs        = GetComponentInChildren <SecondBossStage>();
     initialPos = transform.position;
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     sbs                         = transform.parent.parent.GetComponent <SecondBossStage>();
     audioSource                 = GetComponent <AudioSource>();
     lifeCounter                 = life;
     weakpointReviveCounter      = timeToWeakpointRevive;
     weakpointTimeRestartCounter = timeBeforeWeakpointRestart;
     revivingWeakpoint           = false;
     flicker                     = false;
     flickerCounter              = flickerTime;
     invul                       = true;
 }