upd
This commit is contained in:
parent
86c4908f43
commit
61c47b6b45
@ -105,12 +105,12 @@ public sealed class Kal : Component, IPlayerBase
|
|||||||
|
|
||||||
if ( Input.Pressed( "Slot1" ) )
|
if ( Input.Pressed( "Slot1" ) )
|
||||||
{
|
{
|
||||||
Inventory.SetActive("Pistol");
|
Inventory?.SetActive("Pistol");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( Input.Pressed( "Slot2" ) )
|
if ( Input.Pressed( "Slot2" ) )
|
||||||
{
|
{
|
||||||
Inventory.Disarm();
|
Inventory?.Disarm();
|
||||||
}
|
}
|
||||||
|
|
||||||
CharacterController.WishVelocity = wishDirection * wishSpeed;
|
CharacterController.WishVelocity = wishDirection * wishSpeed;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user