예제 #1
0
 private void ResetCrosshair()
 {
     DisposeStyler();
     if (Character != null && Character.Weapon != null)
         Styler = CrosshairStyler.Create(Character.Weapon.WeaponKind, Container);
 }
예제 #2
0
 private void DisposeStyler()
 {
     if (Styler != null)
     {
         Styler.Dispose();
         Styler = null;
     }
 }