Exemple #1
0
 // Use this for initialization
 void Start()
 {
     Julia          = GameObject.Find("Julia").GetComponent <Astral>();
     prisonerCamera = GameObject.Find("Prisoner Camera Rig").GetComponent <FreeLookCam>();
     prisonerCamera.GetComponent <FreeLookCam>().enabled = true;
     prisonerCamera.GetComponent <ProtectCameraFromWallClip>().enabled = false;
     prisonerInventory = new List <Prisoner>();
     canSwap           = true;
     //we are starting in a prisoner
     if (startingPosPrisoner != null)
     {
         StartCoroutine(possesionStart(true));
         //we are staring in Julia
     }
     else
     {
         StartCoroutine(possesionStart(false));
     }
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     selectionMode = false;
     possMaster    = GameObject.Find("Possession Master").GetComponent <PossessionMaster>();
     julia         = GameObject.Find("Julia").GetComponent <Astral>();
 }