feat: add test shurken
This commit is contained in:
@@ -36,10 +36,18 @@ namespace Reset.Units{
|
||||
currentWeaponItem.transform.rotation = (Unit.Animation as PlayerAnimation).rightHand.rotation * Quaternion.Euler(meleeWeapon.handRotationOffset);
|
||||
|
||||
Debug.Log(currentWeapon);
|
||||
|
||||
//
|
||||
(currentWeapon as Weapon).AddActorScript();
|
||||
|
||||
//
|
||||
// Unit.Graph.SendEvent("Draw Weapon");
|
||||
}
|
||||
|
||||
public GameObject GetCurrentWeaponItem(){
|
||||
return currentWeaponItem;
|
||||
}
|
||||
|
||||
public void OnHolsterWeapon(){
|
||||
Destroy(currentWeaponItem);
|
||||
currentWeaponItem = null;
|
||||
|
||||
Reference in New Issue
Block a user