void Start() { fishMovement = GetComponent <FishMovement>(); fishOxygen = GetComponent <FishOxygen>(); fishIndicators = GetComponent <FishIndicators>(); rb = GetComponent <Rigidbody>(); respawning = false; wonLevel = false; }
void Start() { fishIndicators = GetComponent <FishIndicators>(); powerBar = GetComponent <PowerBar>(); rb = GetComponent <Rigidbody>(); respawnRotation = transform.rotation; respawnPosition = transform.position; isGrounded = false; inControl = true; canceledClick = false; SetJump(0); }