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