// Use this for initialization void Start() { disabledOnSceneStart = false; eyes = gameObject.GetComponent <Animation>(); possMess = GameObject.Find("Possession Master").GetComponent <PossessionMaster>(); mouseRotatorLR = gameObject.GetComponent <SimpleMouseRotator>(); mouseRotatorUD = gameObject.GetComponentsInChildren <SimpleMouseRotator>()[1]; characterMover = gameObject.GetComponentInChildren <FirstPersonCharacter>(); }
// Use this for initialization protected override void Start() { base.Start(); //Pearl's variable intialization scaredState = state.NotScared; isCrawling = isFleeing = fleeCooldown = cameraRot = false; currentFear = currentTimeScream = shakeTime = cooldown = 0.0f; scareInc = SCARERATE; navAgent = GetComponent <NavMeshAgent> (); thirdPChar = GetComponent <ThirdPersonCharacter> (); thirdPControl = GetComponent <ThirdPersonUserControl> (); posMast = GameObject.Find("Possession Master").GetComponent <PossessionMaster> (); }
// Use this for initialization void Start() { selectionMode = false; possMaster = GameObject.Find("Possession Master").GetComponent <PossessionMaster>(); julia = GameObject.Find("Julia").GetComponent <Astral>(); }
//Use this for initialization private void Start() { posMaster = GameObject.Find("Possession Master").GetComponent <PossessionMaster>(); }