Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     if (hexa == null)
     {
         hexa = gameObject.GetComponent <HexasphereConfig>();
     }
     hexa.enabled = true;
 }
Esempio n. 2
0
 // Update is called once per frame
 void Update()
 {
     if (hexa == null)
     {
         hexa = gameObject.GetComponent <HexasphereConfig>();
     }
     if (hexa.enabled == false)
     {
         hexa.enabled = true;
     }
 }