baobao
12/3/2016 - 2:53 AM

error Consider storing the value in a temporary variable

error Consider storing the value in a temporary variable

class Hoge {
    public Sample Direction { get; private set;}
    void Foo () {
        Direction.y = 0;
    }
    public struct Sample {
        public int y;
    }  
}