コード例 #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");
 }
コード例 #2
0
 private void Awake()
 {
     s_instance = this;
 }