void OnMouseDown() { if (IsActive) { // Flash right StartCoroutine("FlashRight"); CoderWeapon.TargetKey(this); } else { // Flash wrong and turn off StartCoroutine("FlashWrong"); CoderWeapon.TargetKey(this); } }
void Awake() { instance = this; }
void OnMouseDown() { if (IsActive) { // Flash right StartCoroutine("FlashRight"); CoderWeapon.TargetKey(this); } else { // Flash wrong and turn off StartCoroutine("FlashWrong"); CoderWeapon.TargetKey(this); } }
void Awake() { instance = this; }