AnimatorAccess icon indicating copy to clipboard operation
AnimatorAccess copied to clipboard

Animator Access namespace

Open vToMy opened this issue 11 years ago • 2 comments

Currently the generate AnimatorAccess has a default namespace which generates warning if the file isn't in the corresponding directory. I think you could very easily determine the correct namespace by the directory the user chose to save the generate file. Also it has an unused "using System.Collections;".

vToMy avatar Jul 11 '14 12:07 vToMy

Hmh, I don't get the namespace warning. Are you using Visual Studio? I fixed the warning regarding the unused using directive in branch master.

kayy avatar Jul 11 '14 13:07 kayy

That's probably since I'm using ReSharper. The convention is having the namespace the same as the directory hierarchy. E.g: namespace Assets.Scripts.Animation

vToMy avatar Jul 11 '14 13:07 vToMy