コード例 #1
0
        static bool Prefix(Exosuit __instance, TechType techType, Transform parent, ref IExosuitArm __result)
        {
            if (techType != GrapplingArmUpgradeModule.TechType)
            {
                return(true);
            }

            __result = __instance.SpawnArm(TechType.ExosuitGrapplingArmModule, parent);
            __result.GetGameObject().AddComponent <GrapplingArmUpgraded>();

            return(false);
        }