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