예제 #1
0
 void Start()
 {
     if (instance == null)
     {
         instance = FindObjectOfType <HitEffector>();
     }
 }
예제 #2
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
예제 #3
0
 void Start()
 {
     hitEffector = gameObject.GetComponentInChildren <HitEffector>();
     counter     = offset;
 }
예제 #4
0
파일: Note.cs 프로젝트: negimochi/EchoHiker
 void Start()
 {
     hitEffector = gameObject.GetComponentInChildren<HitEffector>();
     counter = offset;
 }