Exemple #1
0
 /// <summary>
 /// Awake is called when the script instance is being loaded.
 /// </summary>
 protected virtual void Awake()
 {
     reloadSystem = GetComponent <AIReloadSystem>();
     audioSource  = GetComponent <AudioSource>();
 }
Exemple #2
0
 public void SetReloadSystem(AIReloadSystem value)
 {
     reloadSystem = value;
 }