Пример #1
0
        /// <summary>
        /// Initialization.
        /// </summary>
        private void Start()
        {
            GameManager.Instance.GemDirector = this;

            if (gemMap == null)
            {
                gemMap = GameManager.Instance.GemMap;
            }
        }
Пример #2
0
 /// <summary>
 /// Bind a gem map to the director.
 /// </summary>
 public void BindMap(GemMap map)
 {
     this.gemMap = map;
 }