private void Awake() { Static_Resources.LoadResources(); SoundManager.LoadSound(); playerStats = PlayerInstance.playerStats; LoadCanons(); playerStats.mySelf = this.transform; playerMovement = this.GetComponent <Player_Movemement>(); GenerateTargetPoint(); }
// Start is called before the first frame update void Start() { pm = FindObjectOfType <Player_Movemement>(); windBlow = true; }