protected override void Start() { base.Start(); animator = GetComponent <Animator>(); playerMovement = PlayerManager.instance.player.GetComponent <TFOG_CharacterMovement>(); purpAttackHash = Animator.StringToHash("purpAttack"); }
public override void OnInspectorGUI() { TFOG_CharacterMovement movement = target as TFOG_CharacterMovement; if (DrawDefaultInspector()) { if (!Application.isPlaying) { movement.speedValueGrowth.exponentialGrowth.initialValue = movement.runSpeed; } } }