prepare for model
This commit is contained in:
@@ -24,8 +24,9 @@ public class CharacterCtrl : MonoBehaviour
|
||||
float gravityValue = -9.81f;
|
||||
StateAnim stateAnim = StateAnim.Idle;
|
||||
Vector3 playerVelocity;
|
||||
[SerializeField] bool isGrounded = false;
|
||||
bool isGrounded = false;
|
||||
bool isRun = false;
|
||||
GameObject modle;
|
||||
|
||||
// ====== Ground cast config ======
|
||||
[Header("Ground Cast")]
|
||||
@@ -53,8 +54,12 @@ public class CharacterCtrl : MonoBehaviour
|
||||
ccRadius = controller.radius;
|
||||
ccSkin = controller.skinWidth;
|
||||
}
|
||||
SetModelHostPlayer();
|
||||
}
|
||||
public void SetModelHostPlayer()
|
||||
{
|
||||
//modle =
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
playerStateMachine.InitState(moveState);
|
||||
|
||||
Reference in New Issue
Block a user