Esempio n. 1
0
    //Output electricity to this next wire/object

    public void ResistancyOutput(int tick, float Resistance, GameObject SourceInstance)
    {
        //Logger.Log (SourceInstance.GetInstanceID().ToString() + " < Receive | is > " + this.gameObject.GetInstanceID().ToString() );
        if (!(SourceInstance == this.gameObject))
        {
            ElectricityFunctions.ResistancyOutput(tick, Resistance, SourceInstance, this);
        }
        //VisibleResistance = Resistance;
    }
Esempio n. 2
0
    //Output electricity to this next wire/object

    public void ResistancyOutput(int tick, float Resistance, GameObject SourceInstance)
    {
        //VisibleResistance = Resistance;
        ElectricityFunctions.ResistancyOutput(tick, Resistance, SourceInstance, this);
    }