コード例 #1
0
        private void setTarget(FreePatternStore store)
        {
            serializedTarget_ = new SerializedObject(store);

            width_       = serializedTarget_.FindProperty("width" );
            height_      = serializedTarget_.FindProperty("height");
            values_      = serializedTarget_.FindProperty("values");
            valuesCount_ = serializedTarget_.FindProperty("values.Array.size");
        }
コード例 #2
0
 public string nameForStore(FreePatternStore fps)
 {
     return storesDict_.FirstOrDefault(s => s.Value == fps).Key;
 }