public override void Init() { base.Init(); lc = this; layerMask = 1 << 11 | 1 << 10 | 1 << 13 | 1 << 16; layerMask = ~layerMask; anim = GetComponent <Animator>(); health = MAX_HEALTH * 5.0f; jumpCount = 3; jumpForce.y = jumpForce.y * 50.0f; isOnSameLevel = false; isJumping = false; bombShootTimer = 0.0f; idleTimer = 2.0f; downTimer = 5.0f; }
void OnEnable() { pc = PlayerController.pc; lc = LeviathanController.lc; }