Esempio n. 1
0
 public override void LoadData()
 {
     base.LoadData();
     _core = Session.GetComponent <EnergyWeaponsCore>();
     if (_core == null)
     {
         throw new Exception("No core component!");
     }
 }
Esempio n. 2
0
        public override void LoadData()
        {
            base.LoadData();
            _core = Session.GetComponent <EnergyWeaponsCore>();
            if (_core == null)
            {
                throw new Exception("No core component!");
            }
            _core.Logger.CreateProxy(GetType());

            Materials = new MaterialPropertyDatabase();
        }
Esempio n. 3
0
 protected override void UnloadData()
 {
     base.UnloadData();
     _core = null;
 }