Example #1
0
 protected virtual void OnDisactivate()
 {
     GlobalFigure.GetGlobalFigure().Concat(this);
     Destroy(gameObject);
 }
Example #2
0
 protected override void OnActivate()
 {
     base.OnActivate();
     globalFigureInstance = this;
 }