void Awake() { Board = GetComponent <Match3Board>(); var seed = Board.RandomSeed == -1 ? gameObject.GetInstanceID() : Board.RandomSeed + 1; m_Random = new System.Random(seed); }
public Match3ExampleActuator(Match3Board board, bool forceHeuristic, string name, int seed ) : base(board, forceHeuristic, seed, name) { m_Board = board; }
public Match3ExampleActuator(Match3Board board, bool forceHeuristic, Agent agent, string name, int seed ) : base(board, forceHeuristic, seed, agent, name) { }
void Awake() { Board = GetComponent <Match3Board>(); m_ModelOverrider = GetComponent <ModelOverrider>(); }
void Awake() { Board = GetComponent <Match3Board>(); }