void OnEnable()
        {
            body = target as T23_ReturnObjectPool;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
            if (body.objectPool == null)
            {
                var objectPools = FindObjectsOfType <VRCObjectPool>();
                foreach (var objectPool in objectPools)
                {
                    for (int i = 0; i < objectPool.Pool.Length; i++)
                    {
                        if (objectPool.Pool[i] == body.gameObject)
                        {
                            body.objectPool = objectPool;
                        }
                    }
                }
            }
        }
Esempio n. 2
0
        void OnEnable()
        {
            body = target as T23_OnExitCollider;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 3
0
        void OnEnable()
        {
            body = target as T23_SetIsKinematic;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
        void OnEnable()
        {
            body = target as T23_SetGravityStrength;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 5
0
        void OnEnable()
        {
            body = target as T23_CallUdonMethod;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 6
0
        void OnEnable()
        {
            body = target as T23_MidiNoteOn;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
        void OnEnable()
        {
            body = target as T23_UseLegacyLocomotion;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 8
0
        void OnEnable()
        {
            body = target as T23_SpawnObjectPool;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 9
0
        void OnEnable()
        {
            body = target as T23_SetAnimatorActive;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 10
0
        void OnEnable()
        {
            body = target as T23_OnPickupUseDown;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
        void OnEnable()
        {
            body = target as T23_ActiveConditionalTrigger;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 12
0
        void OnEnable()
        {
            body = target as T23_OnStationExited;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 13
0
        void OnEnable()
        {
            body = target as T23_OnPlayerRespawn;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 14
0
        void OnEnable()
        {
            body = target as T23_SetJumpImpulse;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
        void OnEnable()
        {
            body = target as T23_AddAngularVelocity;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 16
0
        void OnEnable()
        {
            body = target as T23_TeleportObject;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
        void OnEnable()
        {
            body = target as T23_OnOwnershipTransfer;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 18
0
        void OnEnable()
        {
            body = target as T23_AudioPause;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
        void OnEnable()
        {
            body = target as T23_SetRandomChildActive;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 20
0
        void OnEnable()
        {
            body = target as T23_BroadcastGlobal;

            master = T23_Master.GetMaster(body, body.groupID, 0, true, body.title);
        }
Esempio n. 21
0
        void OnEnable()
        {
            body = target as T23_SetGameObjectActive;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 22
0
        void OnEnable()
        {
            body = target as T23_CustomTrigger;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 23
0
        void OnEnable()
        {
            body = target as T23_InputGrab;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 24
0
        void OnEnable()
        {
            body = target as T23_MidiControlChange;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 25
0
        void OnEnable()
        {
            body = target as T23_SetPropertyBox;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
        void OnEnable()
        {
            body = target as T23_UseAttachedStation;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 27
0
        void OnEnable()
        {
            body = target as T23_AnimationTrigger;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 28
0
        void OnEnable()
        {
            body = target as T23_SetPlayerSpeed;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }
Esempio n. 29
0
        void OnEnable()
        {
            body = target as T23_OnVideoStart;

            master = T23_Master.GetMaster(body, body.groupID, 1, true, body.title);
        }
Esempio n. 30
0
        void OnEnable()
        {
            body = target as T23_SetUIText;

            master = T23_Master.GetMaster(body, body.groupID, 2, true, body.title);
        }