public OptionsManger(SerializationInfo info, StreamingContext context) { bindings = (Bindings)info.GetValue("bindings", typeof(Bindings)); //overwrite old instance instance = this; }
public static OptionsManger getInstance() { if (instance == null) { instance = new OptionsManger(); } return(instance); }
/* Instance Methods */ public override void Awake() { base.Awake(); binds = OptionsManger.getInstance().getBindings(); }