C
C
CanLap2017-09-17 12:30:13
Game development
CanLap, 2017-09-17 12:30:13

How to view all MonoBehaviour methods?

Good afternoon.
I write code in Visual studio. How is it more convenient to override the MonoBehaviour -OnMouseDown(), OnTriggerExit(), Start(), etc. methods? All the time to look at the methods you need in the documentation? Or are there any hotkeys?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GavriKos, 2017-09-17
@CanLap

With standard vizhla and unityVS settings (if you installed vizhla from the unity installer, then everything is ok) in the MonoBehaviour successor class, press Ctrl + Shift + M - and you get a dialogue with all unity messages.
By the way, this is not an override in C# terms.

S
sim3x, 2017-09-17
@sim3x

https://docs.unity3d.com/ScriptReference/MonoBehav...

M
MonkAlex, 2017-09-17
@MonkAlex

Studio, at least with a resharper, tells you which methods can be overridden after you type `override`.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question