예제 #1
0
 void Start()
 {
     spriteRenderer = gameObject.GetComponent <SpriteRenderer>();
     changeViews    = GameObject.Find("Main Camera").GetComponent <ChangeViews>();
 }
예제 #2
0
 private void Awake()
 {
     instance = this;
 }