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

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