Example #1
0
    public override void Enter()
    {
        base.Enter();
        FireSlimeAI fireSlimeAI = (FireSlimeAI)GetAI();
        FireSlime   fireSlime   = (FireSlime)fireSlimeAI.getCharacter();
        GameObject  myBody      = fireSlime.GetGameObject();

        if (childrenStates.Count == 0)
        {
            LaunchFusedLaserState_FireSlime launchFusedLaserState = fireSlimeAI.GetLaunchFusedLaserState();
            childrenStates.Add(launchFusedLaserState);
            launchFusedLaserState.currentState = State.NONE;
        }
    }
Example #2
0
 public void SetLaunchFusedLaserState(LaunchFusedLaserState_FireSlime launchFusedLaserState)
 {
     this.launchFusedLaserState = launchFusedLaserState;
 }