Exemplo n.º 1
0
        private static void OnCopySettingsHandler(LogicStorageSensor comp, object data)
        {
            var other = ((GameObject)data).GetComponent <LogicStorageSensor>();

            if (other != null)
            {
                comp.OnCopySettings(other);
            }
        }
Exemplo n.º 2
0
 public static void OnOperationalChangedHandler(LogicStorageSensor comp, object data)
 {
     comp.OnOperationalChanged();
 }
Exemplo n.º 3
0
 private static void OnStorageChangedHandler(LogicStorageSensor comp, object data)
 {
     comp.OnStorageChanged();
 }
Exemplo n.º 4
0
 private void OnCopySettings(LogicStorageSensor other)
 {
     Threshold = other.Threshold;
     ActivateAboveThreshold = other.ActivateAboveThreshold;
 }