internal static HandleRef getCPtrAndDisown(CallbackRegistry obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return(ptr); }
public void Awake() { inputCallbacks = new Dictionary <Type, Action <Action, Combination> >(); enterCallbacks = new Dictionary <Type, Action <Action, Combination> >(); inputRegistry = new CallbackRegistry(inputCallbacks); enterRegistry = new CallbackRegistry(enterCallbacks); stopInputSearch = new Action(StopInputSearch); states = gameObject.GetComponentInParent <StateDict>(); fgChar = gameObject.GetComponentInParent <FightingGameCharacter>(); frame = GameObject.FindGameObjectWithTag("rspTime").GetComponent <FrameEnforcer>(); }
internal static HandleRef getCPtr(CallbackRegistry obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }