Code cleanup.
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
using System;
|
||||
using Cryville.Common;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Text.RegularExpressions;
|
||||
using UnityEngine;
|
||||
using Cryville.Common;
|
||||
using Cryville.Common.Plist;
|
||||
|
||||
namespace Cryville.Crtr {
|
||||
[BinderAttribute(typeof(Cocos2dFramesBinder))]
|
||||
@@ -21,6 +18,7 @@ namespace Cryville.Crtr {
|
||||
|
||||
public Dictionary<string, Frame> frames;
|
||||
public class Frame {
|
||||
#pragma warning disable IDE1006
|
||||
Rect _frame;
|
||||
public Rect frame {
|
||||
get { return _frame; }
|
||||
@@ -31,8 +29,6 @@ namespace Cryville.Crtr {
|
||||
set { _frame = value; }
|
||||
}
|
||||
|
||||
public Vector2 offset;
|
||||
|
||||
bool _rotated = false;
|
||||
public bool rotated {
|
||||
get { return _rotated; }
|
||||
@@ -42,6 +38,9 @@ namespace Cryville.Crtr {
|
||||
get { return _rotated; }
|
||||
set { _rotated = value; }
|
||||
}
|
||||
#pragma warning restore IDE1006
|
||||
|
||||
public Vector2 offset;
|
||||
|
||||
public Rect sourceColorRect;
|
||||
public Vector2 sourceSize;
|
||||
|
Reference in New Issue
Block a user