protected void Initialize() { _BThirdPerson = gameObject.GetComponent<BThirdPerson>(); _BThirdPersonMotionSystem = gameObject.GetComponent<BThirdPersonMotionSystem>(); _BThirdPerson.controller = this; _BAudioPlayer = gameObject.GetComponent<BAudioPlayer>(); material = renderer.material; setSlotsHand(); }
public void Start() { _BAudioPlayer = gameObject.GetComponent<BAudioPlayer>(); }