void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } }
void Start() { rigidbody = GetComponent <Rigidbody2D>(); colorizer = Colorizer10.instance; spawners = FindObjectsOfType <Spawner10>(); }
void Start() { colorizer = Colorizer10.instance; sprite = GetComponent <SpriteRenderer>(); }