public override int CanProcessCommand(GotoCommand command) { if (command.toManagedObject.isValid) { return(10); } return(base.CanProcessCommand(command)); }
public override void RestoreCommand(GotoCommand command) { if (command.toManagedObject.isValid) { m_ObjectsControl.Select(command.toManagedObject.packed); } base.RestoreCommand(command); }
public override int CanProcessCommand(GotoCommand command) { if (command.toStaticField.isValid || command.toManagedType.isValid) { return(10); } return(base.CanProcessCommand(command)); }
public override int CanProcessCommand(GotoCommand command) { if (command.toGCHandle.isValid) { return(10); } return(base.CanProcessCommand(command)); }
public override void RestoreCommand(GotoCommand command) { if (command.toNativeObject.isValid) { m_NativeObjectsControl.Select(command.toNativeObject.packed); return; } base.RestoreCommand(command); }
public override void RestoreCommand(GotoCommand command) { if (command.toStaticField.isValid) { m_StaticFieldsControl.Select(command.toStaticField.classType.packed); return; } if (command.toManagedType.isValid) { m_StaticFieldsControl.Select(command.toManagedType.packed); } }
public void Add(GotoCommand from, GotoCommand to) { while (m_Commands.Count > m_Index && m_Index >= 0) { m_Commands.RemoveAt(m_Commands.Count - 1); } var e = new Entry(); e.from = from; e.to = to; m_Commands.Add(e); m_Index++; }
public override void RestoreCommand(GotoCommand command) { m_HandlesControl.Select(command.toGCHandle.packed); }
protected void Goto(GotoCommand command) { window.OnGoto(command); }
public virtual void RestoreCommand(GotoCommand command) { }
public virtual int CanProcessCommand(GotoCommand command) { return(0); }