Пример #1
0
	public void SetManager(MainManagerScript manager, MainDataScript data){
		m_sManager = manager;
		MainData = data;
	}
 private void Awake()
 {
     Instance     = this;
     CurrentState = GameState.Idle;
 }
Пример #3
0
	void Start()
	{
		m_mainMngr = GetComponent<MainManagerScript>();

		InitPopulation();
	}