Example #1
0
    void Start()
    {
        PlayerHit += PlayerHitBehaviour;
        move       = new bool[(int)Moves.last];

        for (int i = 0; i < (int)Moves.last; i++)
        {
            move[i] = true;
        }
    }
Example #2
0
 void OnDestroy()
 {
     PlayerHit -= PlayerHitBehaviour;
 }