Beispiel #1
0
        private void OnEnable()
        {
            DE = (DragonEgg)target;

            hatchtype = serializedObject.FindProperty("hatchtype");
            input     = serializedObject.FindProperty("input");
            time      = serializedObject.FindProperty("seconds");
        }
Beispiel #2
0
        private void OnEnable()
        {
            DE = (DragonEgg)target;

            script = MonoScript.FromMonoBehaviour(DE);

            hatchtype = serializedObject.FindProperty("hatchtype");
            input     = serializedObject.FindProperty("input");
            time      = serializedObject.FindProperty("seconds");
        }