コード例 #1
0
        void InitParentPluginReference(Atom parent)
        {
            string storableId = parent.GetStorableIDs()
                                .Where(it => it.Contains("TittyMagic"))
                                .First();
            JSONStorable tittyMagic = parent.GetStorableByID(storableId);

            breastSize    = tittyMagic.GetVector3JSONParam("Breast size");
            breastAltSize = tittyMagic.GetVector3JSONParam("Breast alt size");
            if (breastSize == null)
            {
                enableUpdate = false;
            }
        }