private void Awake() { planet = FindObjectOfType <TerrestrialRotation>().transform; mainCam = Camera.main; ts = GetComponent <TerrainSelect>(); toolSelect = FindObjectOfType <ToolSelect>(); placementAudio = FindObjectOfType <PlacementAudio>(); }
void Start() { audioSource = GetComponent <AudioSource>(); ts = FindObjectOfType <TerrainSelect>(); }
private void Awake() { ts = FindObjectOfType <TerrainSelect>(); tp = FindObjectOfType <TerrainPainter>(); planet = FindObjectOfType <TerrestrialRotation>().transform; }