Пример #1
0
 // Use this for initialization
 public virtual void Start()
 {
     m_pAudioSource                        = (AudioSource)gameObject.GetComponent("AudioSource");
     m_pAudioSource.playOnAwake            = false;
     GetComponent <Rigidbody>().useGravity = false;
     GetComponent <Collider>().isTrigger   = true;
     lootTable = LootTable.CreateLootTable();
 }