Ejemplo n.º 1
0
 private void OnValidate()
 {
     s_instance  = this;
     skillFxNode = skillFxNode ? skillFxNode : GameObject.Find("SkillFx");
     modelFxNode = modelFxNode ? modelFxNode : GameObject.Find("ModelFx");
     sceneFxNode = sceneFxNode ? sceneFxNode : GameObject.Find("SceneFx");
     uiFxNode    = uiFxNode ? uiFxNode : GameObject.Find("UIFx");
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     s_instance = this;
 }