Hello Guest

Author Topic: Compiler warning upon first build  (Read 3960 times)

0 Members and 1 Guest are viewing this topic.


  • Member
  • Posts: 1
    • View Profile
Compiler warning upon first build
« on: April 08, 2016, 01:26:35 PM »
Just downloaded Otter and am attempting to use it in Visual Studio 2015. Followed the example to set up a Console Application project and reference the Otter project, which works great, but upon building, I get the following warning:

Severity   Code   Description   Project   File   Line   Suppression State
Warning   CS0108   'Movement.Collider' hides inherited member 'Component.Collider'. Use the new keyword if hiding was intended.   Otter   C:\Otter2D\kylepulver-otter-90420f5251c7\Otter\Components\Movement\Movement.cs   35   Active

Of course it's easy to add the "new" keyword to the Collider property in Movement.cs, but is that what should be done? Not sure if that was what was intended or not?


  • Administrator
  • Member
  • Posts: 259
    • View Profile
Re: Compiler warning upon first build
« Reply #1 on: April 25, 2016, 10:56:27 AM »
Sorry for the late reply.  I added the word new in Movement.cs on the dev branch and when I push the next set of changes into the main branch this should be resolved.