// Start is called before the first frame update void Start() { mpd = GetComponent <MousePositionDetector>(); stats = GetComponent <StatBlock>(); PlayerClass pc = GetComponent <PlayerClass>(); abil = pc.abilities.Set[AbilName]; projectile = abil.Prefab; abilStats = abil.Stats; abil.cdRemain = 0f; UpdateStats(); }
private void Awake() { mpd = GetComponent <MousePositionDetector>(); stats = GetComponent <StatBlock>(); }
private void Awake() { mousePositionDetector = GetComponent <MousePositionDetector>(); }