Пример #1
0
 //enforces singleton pattern
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else if (instance != null)
     {
         Destroy(gameObject);
     }
 }
Пример #2
0
 Step Step(Location Location)
 {
     return(StepParser.StepFrom(Location));
 }