void Awake() { if (deploymentOrder == null) { deploymentOrder = GetComponentInParent <UIDeploymentOrder>(); } }
void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(this); } }