// Use this for initialization void Start() { rigid = GetComponent <Rigidbody>(); characterMotion = GetComponent <CharacterMotion>(); animControl = GetComponent <CharacterAnimControl>(); horizontalMotionLocked = false; }
// Start is called before the first frame update void Start() { animControl = GetComponent <CharacterAnimControl>(); Swap(characters[initCharacterIndex]); }
// Start is called before the first frame update void Start() { playerMotion = player.GetComponent <PlayerMotion>(); characterAnim = player.GetComponent <CharacterAnimControl>(); }