private void Start()
 {
     ChooseStartingLocation();
     MainHatch.IsLocked = true;
     SetShuttleRepaired(false);
     MainChar.CanAttack = false;
     LoadingController.AddListener(StartRecoveryDialogue);
 }
예제 #2
0
    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);
    }
예제 #3
0
 private void Awake()
 {
     LoadingController.AddListener(SetUp);
 }
예제 #4
0
 protected virtual void Awake()
 {
     enabled = false;
     LoadingController.AddListener(Initialise);
 }
예제 #5
0
 private void Start()
 {
     enabled = false;
     LoadingController.AddListener(Initialise);
 }