Example #1
0
 private static extern void Internal_SetValue(IntPtr nativeInstance, GameObject value);
Example #2
0
 /// <summary>
 /// Triggered by the runtime when the value of the field changes.
 /// </summary>
 /// <param name="newValue">New game object referenced by the field.</param>
 private void DoOnChanged(GameObject newValue)
 {
     if (OnChanged != null)
         OnChanged(newValue);
 }
 /// <summary>
 /// Triggered when the user drops a new game object onto the field, or clears the current value.
 /// </summary>
 /// <param name="newValue">New game object to reference.</param>
 private void OnFieldValueChanged(GameObject newValue)
 {
     property.SetValue(newValue);
     state = InspectableState.Modified;
 }