chrisgregan
9 years ago
4 changed files with 1068 additions and 177 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,20 @@
|
||||
using UnityEngine; |
||||
using System.Collections; |
||||
|
||||
public class PortraitFlipTest : MonoBehaviour { |
||||
|
||||
void Update () |
||||
{ |
||||
Transform t = gameObject.transform.FindChild("Canvas/JohnCharacter"); |
||||
|
||||
if (t == null) |
||||
{ |
||||
return; |
||||
} |
||||
|
||||
if (t.transform.localScale.x != -1f) |
||||
{ |
||||
IntegrationTest.Fail("Character object not flipped horizontally"); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2 |
||||
guid: cd9f5c93d50b44e9ba1b822ff6993500 |
||||
timeCreated: 1444231183 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue