Skip to content

Commit

Permalink
removed TextMeshPro (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pallab Maiti authored May 22, 2023
1 parent d0ba42e commit 0e52485
Show file tree
Hide file tree
Showing 155 changed files with 830 additions and 14,567 deletions.
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ private void Start()

public void Initialize()
{
//Copy SAMPLE_ENV.json and rename it to RUDDER_ENV.json under Assets folder. Fill the required details.
//Copy SAMPLE_ENV.json and rename it to RUDDER_ENV.json under `Assets/RudderStack/Unity/Resources/` folder. Fill the required details.
RSEnv rsEnv = JsonConvert.DeserializeObject<RSEnv>(Resources.Load("RUDDER_ENV").ToString());

RSAnalytics.Initialize(rsEnv.WRITE_KEY,
new RSConfig()
.SetDataPlaneUrl(rsEnv.PROD_DATA_PLANE_URL)
//.SetControlPlaneUrl(rsEnv.DEV_CONTROL_PLANE_URL)
//.SetLogLevel(Logger.Level.DEBUG)
.SetLogLevel(Logger.Level.DEBUG)
//.SetSleepCount(5)
//.SetDbThresholdCount(1)
//.SetGzip(false)
Expand Down Expand Up @@ -124,8 +124,8 @@ public void Group()
//RSAnalytics.Client.Group("group_id", new Dictionary<string, object> { { "key_1", "value_1" }, { "key_2", 4 }, { "key_3", 4.2 }, { "key_4", true } }, rudderOptions);
}

public void SwitchScene() => SceneManager.LoadScene("RudderStack/UnitySDK/Examples/Example 1");
public void SwitchScene() => SceneManager.LoadScene("RudderStack/Unity/Examples/Example 1");

public void SwitchBack() => SceneManager.LoadScene("RudderStack/UnitySDK/Examples/Example");
public void SwitchBack() => SceneManager.LoadScene("RudderStack/Unity/Examples/Example");
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private void OnValidate()
if (!settings)
{
settings = UnityEditor.AssetDatabase.LoadAssetAtPath<RSPlayerSettings>(
"Assets/RudderStack/UnitySDK/Settings.asset");
"Assets/RudderStack/Unity/Settings.asset");
}
}

Expand All @@ -109,7 +109,7 @@ public static void CreateInstance()
{
var instance = UnityEditor.PrefabUtility.InstantiatePrefab(
UnityEditor.AssetDatabase.LoadAssetAtPath<GameObject>(
"Assets/RudderStack/UnitySDK/Prefabs/RudderStack.prefab"));
"Assets/RudderStack/Unity/Prefabs/RudderStack.prefab"));
UnityEditor.Undo.RegisterCreatedObjectUndo(instance, "Create RS Object");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class RSPlayerSettingsBridge : IPreprocessBuildWithReport
public int callbackOrder { get; }
public void OnPreprocessBuild(BuildReport report)
{
const string path = "Assets/RudderStack/UnitySDK/Settings.asset";
const string path = "Assets/RudderStack/Unity/Settings.asset";

var settings = AssetDatabase.LoadAssetAtPath<RSPlayerSettings>(path);

Expand Down
File renamed without changes.
8 changes: 0 additions & 8 deletions Assets/TextMesh Pro.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/TextMesh Pro/Documentation.meta

This file was deleted.

Binary file not shown.

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/TextMesh Pro/Fonts.meta

This file was deleted.

46 changes: 0 additions & 46 deletions Assets/TextMesh Pro/Fonts/LiberationSans - OFL.txt

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/TextMesh Pro/Fonts/LiberationSans - OFL.txt.meta

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/TextMesh Pro/Fonts/LiberationSans.ttf

This file was deleted.

19 changes: 0 additions & 19 deletions Assets/TextMesh Pro/Fonts/LiberationSans.ttf.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/TextMesh Pro/Resources.meta

This file was deleted.

9 changes: 0 additions & 9 deletions Assets/TextMesh Pro/Resources/Fonts & Materials.meta

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0e52485

Please sign in to comment.