Beispiel #1
0
        private void Awake()
        {
            instance = this;

            SetUpReferences();

            InitialiseAll();
        }
Beispiel #2
0
        public override void Initialise()
        {
            base.Initialise();

            if (player == null)
            {
                player = SpawnPlayer();
                player.gameObject.Show();
            }
            // perhaps do something with the new playermaster reference (e.g. store it into data somewhere)

            //place holder
            camLookat.SetTarget(player.transform.GetChild(0));
        }