/// <summary> /// We get the player from its tag. /// </summary> void Start() { MovingController = GetComponent <AdvancedMovementController>(); JumpingController = GetComponent <AdvancedMovementController>(); PlayerMovementController = GetComponent <AdvancedMovementController>(); Transmitter = GetComponent <Transmitter>(); ActionBank = GetComponent <ActionBank>(); }
public void Awake() { ActionBank = GetComponent <ActionBank>(); }