Example #1
0
 // Use this for initialization
 void Start()
 {
     mood = FindObjectOfType<Mood>();
     pm = FindObjectOfType<PersonalityModule>();
     Set(Extraversion, pm.GetExtraversion());
     Set(Openness, pm.GetOpenness());
     Set(Neuroticism, pm.GetNeuroticism());
     Set(Agreeableness, pm.GetAgreeableness());
     Set(Conscientiousness, pm.GetConscientiousness());
 }
Example #2
0
 void Start()
 {
     pm = GetComponent<PersonalityModule>();
     behave = transform.parent.GetComponentInChildren<BehaviourRealiser>();
     me = new Participant();
     me.identikit = GetComponent<Identikit>();
     motion = transform.parent.GetComponentInChildren<ActorMotion>();
     mood = GetComponent<Mood>();
     Params = new GGPSettings(Config.GGP);
     InitPersonalityParams();
     Debug.Log(pm.GetAgreeableness());
 }