Unity's SerializedProperty not support custom type value setting. This extension use Reflection to get target instance of SerializedProperty in Custom Editor, made value setting of general type is posible.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance,Force | |
#Warn | |
SetWorkingDir %A_ScriptDir% | |
SetKeyDelay, 10, 10 | |
CoordMode, Pixel, Screen | |
SendMode Input | |
Gui, New | |
Gui, shelp:Default | |
Gui, Add, Edit, xm w300 ReadOnly -Wrap vCtrl_Title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "../rc-switch/RCSwitch.h" | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <iostream> | |
#include <string> | |
#define SWITCHCOUNT 3 | |
#define PIN 0 | |
int args[SWITCHCOUNT][2]; |