Ejemplo n.º 1
0
 //enforces singleton pattern
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else if (instance != null)
     {
         Destroy(gameObject);
     }
 }
Ejemplo n.º 2
0
 Step Step(Location Location)
 {
     return(StepParser.StepFrom(Location));
 }