Beispiel #1
0
        /// <summary>
        /// Call this method to force a configuration load.
        /// </summary>
        public void LoadConfiguration()
        {
            if (config == null)
            {
                return;
            }

            Hexasphere hexa = GetComponent <Hexasphere> ();

            if (hexa == null)
            {
                Debug.Log("Hexasphere Grid System not found in this game object!");
                return;
            }
            hexa.textures = textures;
            hexa.SetTilesConfigurationData(config);
        }