Beispiel #1
0
 // Start is called before the first frame update
 void Awake()
 {
     // Assign camera here because using Camera.main in Update is expensive
     camera            = Camera.main;
     scriptableManager = GetComponent <ScriptableManager>();
 }
Beispiel #2
0
 // Start is called before the first frame update
 private void Awake()
 {
     scriptableManager = GetComponent <ScriptableManager>();
 }