예제 #1
0
        public virtual void OnCurrentProbe()
        {
            ProbeState p = (ProbeState)VisualGrid.availableStates[typeof(ProbeState)];

            p.ptype = ProbeType.current;
            VisualGrid.ChangeState(typeof(ProbeState));
        }
예제 #2
0
        public virtual void OnVoltageProbe()
        {
            ProbeState p = (ProbeState)VisualGrid.availableStates[typeof(ProbeState)];

            p.ptype = ProbeType.voltage;
            VisualGrid.ChangeState(typeof(ProbeState));
        }