Firstborn/Assets/Kevin Iglesias/Villager Animations Pack/Example Scene/Scripts/LiftScript.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

20 lines
390 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace KevinIglesias
{
public class LiftScript : MonoBehaviour {
public GameObject item;
public GameObject itemInHand;
public void GetItem(bool dropItem)
{
item.SetActive(dropItem);
itemInHand.SetActive(!dropItem);
}
}
}