Example #1
0
    private void OnShow()
    {
        int randomValue = UnityEngine.Random.Range(0, moves.Count);

        move = moves[randomValue];

        randomValue = UnityEngine.Random.Range(0, poss.Count);

        pos = poss[randomValue];

        BuggerAppear();
    }
Example #2
0
 public void AddPos(BuggerPosInfo posInfo)
 {
     poss.Add(posInfo);
 }