コード例 #1
0
ファイル: TestTai1.cs プロジェクト: PhenValentia/ANNE
 void Update()
 {
     if (outputTest == true)
     {
         timeSystem = new Tai(90.0f, 30.0f, 70.0f);
         Debug.Log(timeSystem.getTime());
         outputTest = false;
     }
 }
コード例 #2
0
ファイル: FearManager.cs プロジェクト: PhenValentia/ANNE
 public void Start()
 {
     audioSource.clip = (AudioClip)Resources.Load("Sounds/InGameIntro");
     Debug.Log("Playing: " + audioSource.clip);
     StartCoroutine(playAudio());
     SAI = new AIFitnessFunction();
     TAI = new Tai(90.0f, 30.0f, 70.0f);                                                                    // Initialising Selection AI and Time AI
     //TAI = new Tai(30.0f, 10.0f, 70.0f);       //TAI testing values
     Reaction = new PlayerReaction(mainCamera, player, playerCheckCount, lookThreshold, movementThreshold); //Initialising Player reaction script
     StartCoroutine(StartRoutine());                                                                        //start process
     //Fear f = new Fear("ShadowHallucination", 100, 2, "Spawn");        // Testing Fear
     //doFear(f);                                                        // Testing Fear Run
 }