Example #1
0
        internal void OnCopySettings(object data)
        {
            PowerTransformerAdjustable comp = ((UnityEngine.GameObject)data).GetComponent <PowerTransformerAdjustable>();

            if (comp != null)
            {
                this.wattageVal = comp.wattageVal;
            }
        }
Example #2
0
 private static void OnCopySettings(PowerTransformerAdjustable comp, object data)
 {
     comp.OnCopySettings(data);
 }