void Change() { if (isVisible) { Drawing.GetComponent <SpriteRenderer>().enabled = false; Satalite.GetComponent <SpriteRenderer>().enabled = true; } if (!isVisible) { Drawing.GetComponent <SpriteRenderer>().enabled = true; Satalite.GetComponent <SpriteRenderer>().enabled = false; } }
void Start() { Drawing.GetComponent <SpriteRenderer>().enabled = true; Satalite.GetComponent <SpriteRenderer>().enabled = false; }