popcron / gizmos

Used for drawing runtime gizmos in builds and editor (Unity3D)
MIT License
546 stars 42 forks source link

Material can't be changed through Gizmos #3

Closed RunninglVlan closed 5 years ago

RunninglVlan commented 5 years ago
//use custom material, if null it uses a default line material
Gizmos.Material = material;

This is an example from README which isn't working right now. I could change the material only this way: Popcron.GizmosInstance.Material = material;

popcron commented 5 years ago

Fixed.

RunninglVlan commented 5 years ago

BTW, do you know that it's possible to close issues right from commit messages? Pretty handy feature!