gree / lwf

LWF - Lightweight SWF
http://gree.github.com/lwf/
zlib License
627 stars 167 forks source link

Warnings #155

Closed DelSystem32 closed 8 years ago

DelSystem32 commented 8 years ago

I installed the latest version of Unity today (5.3.1f1 64-bit) and tried the current LWF. It comes bundled with Visual Studio, the following warnings are given in Unity's console:

Assets/Plugins/lwf/renderer/uivertex/lwf_uivertex_factory.cs(178,14): warning CS0114: LWF.UIVertexRenderer.UIVertexComponent.OnDestroy()' hides inherited memberUnityEngine.EventSystems.UIBehaviour.OnDestroy()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword

Assets/Plugins/lwf/renderer/combinedmesh/lwf_combinedmesh_factory.cs(186,34): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

Assets/Plugins/lwf/renderer/drawmesh/lwf_drawmesh_bitmap.cs(200,28): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

Assets/Plugins/lwf/renderer/drawmesh/lwf_drawmesh_bitmap.cs(202,36): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

Assets/Plugins/lwf/renderer/uivertex/lwf_uivertex_factory.cs(147,34): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

Assets/Plugins/lwf/renderer/uivertex/lwf_uivertex_factory.cs(178,14): warning CS0114: LWF.UIVertexRenderer.UIVertexComponent.OnDestroy()' hides inherited memberUnityEngine.EventSystems.UIBehaviour.OnDestroy()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword

Assets/Plugins/lwf/renderer/combinedmesh/lwf_combinedmesh_factory.cs(186,34): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

Assets/Plugins/lwf/renderer/drawmesh/lwf_drawmesh_bitmap.cs(200,28): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

Assets/Plugins/lwf/renderer/drawmesh/lwf_drawmesh_bitmap.cs(202,36): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

Assets/Plugins/lwf/renderer/uivertex/lwf_uivertex_factory.cs(147,34): warning CS0618: UnityEngine.MaterialPropertyBlock.AddColor(int, UnityEngine.Color)' is obsolete:AddColor has been deprecated. Please use SetColor instead.'

These things are pretty minor and should be quick to fix.