close #29; Use shared material during play mode

pull/77/head
mob-sakai 2018-12-29 19:38:53 +09:00
parent 3ca5e225ce
commit 1c88502b2b
1 changed files with 1 additions and 3 deletions

View File

@ -59,8 +59,6 @@ namespace Coffee.UIExtensions
Profiler.BeginSample ("Check material");
var mat = m_IsTrail
? _renderer.trailMaterial
: Application.isPlaying
? _renderer.material
: _renderer.sharedMaterial;
if (mat && mat.HasProperty (s_IdMainTex))
{