added gamescreen UI and simple start menu
This commit is contained in:
@@ -15,6 +15,7 @@ namespace Darkmatter.Presentation
|
||||
protected readonly int moveXhash = Animator.StringToHash("MoveX");
|
||||
protected readonly int moveYhash = Animator.StringToHash("MoveY");
|
||||
private readonly int reloadHash = Animator.StringToHash("Reload");
|
||||
private readonly int deadHash = Animator.StringToHash("Dead");
|
||||
public TwoBoneIKConstraint HandOnGunIK; //for gunHand Ik
|
||||
private Coroutine reloadCoroutine;
|
||||
|
||||
@@ -71,5 +72,10 @@ namespace Darkmatter.Presentation
|
||||
{
|
||||
Debug.Log("player Shoot");
|
||||
}
|
||||
|
||||
public void PlayDeadAnim()
|
||||
{
|
||||
animator.SetTrigger(deadHash);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user