hi
in code:
public static Material BoneMaterial {
get {
if (_boneMaterial == null) {
#if UNITY_4_3
_boneMaterial = new Material(Shader.Find("Particles/Alpha Blended"));
_boneMaterial.SetColor("_TintColor", new Color(0.4f, 0.4f, 0.4f, 0.25f));
#else
_boneMaterial = new Material(Shader.Find("Hidden/Spine/Bones"));
_boneMaterial.SetColor("_Color", new Color(0.4f, 0.4f, 0.4f, 0.25f));
#endif
}
return _boneMaterial;
}
}
line _boneMaterial = new Material(Shader.Find("Hidden/Spine/Bones"));
keeps giving us a null ref in editor view when we have selected a spine object. This only happens with one object, which has no visable slots in set up pose. Don't know if that is an issue or what