private void Start() { ChooseStartingLocation(); MainHatch.IsLocked = true; SetShuttleRepaired(false); MainChar.CanAttack = false; LoadingController.AddListener(StartRecoveryDialogue); }
private void Start() { //get ref to ChunkFiller component chunkFiller = chunkFiller ?? GetComponent <ChunkFiller>(); //get camera's coordinates on the grid coords = new ChunkCoords(transform.position, EntityNetwork.CHUNK_SIZE); //start camera size at minimum size CamSize = minCamSize; //default follow target to shuttle if no target is set followTarget = followTarget ?? FindObjectOfType <Shuttle>(); LoadingController.AddListener(Initialise); }
private void Awake() { LoadingController.AddListener(SetUp); }
protected virtual void Awake() { enabled = false; LoadingController.AddListener(Initialise); }
private void Start() { enabled = false; LoadingController.AddListener(Initialise); }