コード例 #1
0
ファイル: ActiveWithUspeak.cs プロジェクト: Smoothstep/VRChat
    // Token: 0x06004E71 RID: 20081 RVA: 0x001A48C4 File Offset: 0x001A2CC4
    private void Start()
    {
        VRCPlayer componentInParent = base.GetComponentInParent <VRCPlayer>();

        if (componentInParent == null || componentInParent != VRCPlayer.Instance)
        {
            base.enabled = false;
            return;
        }
        this.USpeakInput         = componentInParent.GetComponentInChildren <USpeaker>();
        this._originalLocalScale = base.transform.localScale;
        this._recentScale        = base.transform.lossyScale;
    }