예제 #1
0
 private void Awake()
 {
     instance = this;
 }
예제 #2
0
 void Start()
 {
     theSprite = GetComponent <SpriteRenderer>();
     theGM     = FindObjectOfType <GameManagerArcade>();
     theSound  = GetComponent <AudioSource>();
 }