Beispiel #1
0
 private void Start()
 {
     if (this._target != null)
     {
         this.UpdateOrientation();
     }
     else
     {
         TimiDebug.LogWarning("Lookat target not set");
     }
 }
Beispiel #2
0
    private void Start()
    {
        if (string.IsNullOrEmpty(this._starPrefabPath))
        {
            TimiDebug.LogWarning("Star prefab path not set");
            return;
        }
        if (this._targetCamera == null)
        {
            TimiDebug.LogWarning("Target camera not set");
            return;
        }

        // this.SpawnGridLikeThing();
        this.SpawnStars();
    }