Skip to content
Strée Eloi edited this page Dec 17, 2017 · 34 revisions

Le développement d’outils visuels pour faciliter le travail des artistes et designers

-Look for: How to edit Unity Editor
-Manuel

Useful Class

Attributes

Manuel Unity- Script Info - Unity Learn video - Manuel C#

Connaissez-vous ..

Enumeration

System.Serializable

Manuel

MonoBehaviour Edition

  • OnValidate()
  • OnReset()

ExecuteInEditMode

Manuel - Unity Learn Video

Inspector Edition

Manuel - Unity Tutorial

Menu Edition

Manuel Shortcut: % (ctrl on Windows, cmd on macOS), # (shift), & (alt)
[MenuItem("MyMenu/Do Something")]

Window Edition

Manuel -TreeView

Scene Edition

Gizmo Edition

Manuel

Scriptable Object

Scriptable Objects are amazing data containers. They don't need to be attached to a GameObject in a scene. They can be saved as assets in our project. Most often, they are used as assets which are only meant to store data, but can also be used to help serialize objects and can be instantiated in our scenes. Manual - Unity Learn Video

Extension Methode

Exemple

  • Can we extend from static class like Debug ? W:No :(

C# et la réflexion

Manuel - C# Basic: Reflection

  • Lock the inspector

Platform Compilation / precompiled code

Manuel

Online Video

Youtube

Udemy

Bonus

  • Set up Script Icon: 1, 2 Créer un Fichier au chemain suivant "Assets/Gizmos/MonNomClass icon.png" avec un espace dans le nom du fichier
    PS: Do not work with namespace

_____________________________-

Hummm...

  • UnityEvent don't work at runtime :(
Clone this wiki locally