private void Awake() { m_RigidBody = FunctionLibrary.GetIfNull(gameObject, m_RigidBody); m_CapsuleComponent = FunctionLibrary.GetIfNull(gameObject, m_CapsuleComponent); m_CosGroundMaxSlope = Mathf.Cos(Mathf.Deg2Rad * m_GroundMaxSlope); }
private void Awake() { m_Rigidbody = FunctionLibrary.GetIfNull(gameObject, m_Rigidbody); m_PlayerMovement = FunctionLibrary.GetIfNull(gameObject, m_PlayerMovement); }
private void Awake() { m_Rigidbody = FunctionLibrary.GetIfNull(gameObject, m_Rigidbody); m_GrappleObject = GameObject.Instantiate(m_GrapplingHookPrefab).transform; }