Skip to content

Resolve CS0618 obsolete-alias warnings in ParticleSystem Editor tool scripts #17

Description

@IvanMurzak

Summary

Resolve all CS0618 obsolete-alias compiler warnings in the Unity-AI-ParticleSystem extension package by replacing the deprecated Unity-MCP attribute aliases with their new names across the Editor tool scripts.

Context

The Unity-MCP package marked a set of attribute aliases as [Obsolete]. The ParticleSystem extension's Editor tool scripts still reference the old names, producing CS0618 warnings when the verification project (Unity-Test-Project, Unity 6000.5.0b10 / Unity 6.5) compiles the package.

The deprecated aliases and their drop-in replacements:

  • McpPluginToolType -> AiToolType
  • McpPluginTool -> AiTool
  • McpPluginSkillDescription -> AiSkillDescription
  • McpPluginSkillBody -> AiSkillBody

Affected files (under Unity-Package/Assets/root/Editor/Scripts/Tools/):

  • ParticleSystem.cs (line 16)
  • ParticleSystem.Get.cs (lines 27 / 36 / 40)
  • ParticleSystem.Modify.cs (lines 31 / 40 / 43)

The new attribute names are drop-in replacements provided by the same Unity-MCP package; this is a pure mechanical attribute-rename.

Proposed approach

Replace each deprecated attribute alias with its new name in the three affected files. No behavioral change, no version bump.

Acceptance criteria

  • Unity-Test-Project (Unity 6000.5.0b10) compiles with zero CS0618 warnings for these attributes in the ParticleSystem package.
  • No package.json version bump (handled later by the release pipeline).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions