Ejemplo n.º 1
0
	void Awake() {
		if (null == Instance) {
			Instance = this;
		} else {
			Debug.LogError("FisticuffsController::Awake - Instance already set. Is there more than one in scene?");
		}
	}
Ejemplo n.º 2
0
 void Awake()
 {
     if (null == Instance)
     {
         Instance = this;
     }
     else
     {
         Debug.LogError("FisticuffsController::Awake - Instance already set. Is there more than one in scene?");
     }
 }