Exemple #1
0
 /// <summary>
 /// Awake is called when the script instance is being loaded.
 /// </summary>
 protected override void Awake()
 {
     base.Awake();
     if (Instance != null)
     {
         Debug.LogWarning("More than one instance of PitchController found.");
     }
     Instance = this;
     _PitchSmoothing.Reset(1.0f);
 }