Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Select methods in inspector

Discussion in 'Editor & General Support' started by Necronomicron, Apr 28, 2019.

  1. Necronomicron

    Necronomicron

    Joined:
    Mar 4, 2015
    Posts:
    108
    I have a class with multiple methods which accept various parameters and I would like to create ordered sequence for each prefab in editor, smth like this:

    Prefab 1:
    • Func1(color1, 5, color3, 8);
    • Func2();
    Prefab 2:
    • Func2();
    • Func1(color4, 1, color2, 9);
    • Func3(3, 6);
    Etc.

    So basically array of instructions. Would be also good if I could change their order using drag & drop. Is it possible?
     
    Last edited: Apr 28, 2019