2D Toolkit Forum

2D Toolkit => Releases => Topic started by: unikronsoftware on December 31, 2015, 01:56:09 pm

Title: 2D Toolkit 2.5.6
Post by: unikronsoftware on December 31, 2015, 01:56:09 pm
Please read the migration guide before updating. 2D Toolkit 2.x is not API compatible with 1.x.
http://2dtoolkit.com/docs/2.4/migration_guide.html

Documentation available at:
http://2dtoolkit.com/docs/2.5


Be sure to run "Setup for JavaScript" after importing if you're using JavaScript/UnityScript or Boo.

What's new

Bug fixes and improvements
Title: Re: 2D Toolkit 2.5.6
Post by: unikronsoftware on December 31, 2015, 01:57:32 pm
-
Title: Re: 2D Toolkit 2.5.6
Post by: skillart on January 11, 2016, 06:04:45 pm
How can i download it?
If I download it from asset store,whether i need pay full money or not.A older user.
Title: Re: 2D Toolkit 2.5.6
Post by: unikronsoftware on January 12, 2016, 09:11:56 am
Hi, its only for sale on the asset store.
Title: Re: 2D Toolkit 2.5.6
Post by: KronusGT on February 20, 2016, 09:18:46 pm
I'm getting a warning in Unity 5.3.1 (EDIT: 5.3.2f1 as well) and 2D Toolkit 2.5.6.

DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.
UnityEngine.Object:DontDestroyOnLoad(Object)

Double clicking the warning sends me here:

Code: [Select]
public static tk2dSystem inst
{
get
{
if (_inst == null)
{
// Attempt to load the global instance and create one if it doesn't exist
_inst = Resources.Load(assetName, typeof(tk2dSystem)) as tk2dSystem;
if (_inst == null)
{
_inst = ScriptableObject.CreateInstance<tk2dSystem>();
}
// We don't want to destroy this throughout the lifetime of the game
DontDestroyOnLoad(_inst); //<--- This generates the warning!
}
return _inst;
}
}

Line 52 of tk2dSystem.cs
Title: Re: 2D Toolkit 2.5.6
Post by: baconbanditgames on March 18, 2016, 04:52:52 pm
I'm getting a warning in Unity 5.3.1 (EDIT: 5.3.2f1 as well) and 2D Toolkit 2.5.6.

DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.
UnityEngine.Object:DontDestroyOnLoad(Object)

Double clicking the warning sends me here:

Code: [Select]
public static tk2dSystem inst
{
get
{
if (_inst == null)
{
// Attempt to load the global instance and create one if it doesn't exist
_inst = Resources.Load(assetName, typeof(tk2dSystem)) as tk2dSystem;
if (_inst == null)
{
_inst = ScriptableObject.CreateInstance<tk2dSystem>();
}
// We don't want to destroy this throughout the lifetime of the game
DontDestroyOnLoad(_inst); //<--- This generates the warning!
}
return _inst;
}
}

Line 52 of tk2dSystem.cs

I'm getting the same warning. It happens on older versions of tk2d in Unity 5.3 and newer too.
Title: Re: 2D Toolkit 2.5.6
Post by: unikronsoftware on March 19, 2016, 11:06:12 pm
Hi,
Thats safe to ignore, won't cause any issues. Will remove the offending line in the next release.
Title: Re: 2D Toolkit 2.5.6
Post by: wuhaishengxxx on October 18, 2016, 04:12:12 am
How can i download it?
Title: Re: 2D Toolkit 2.5.6
Post by: unikronsoftware on October 18, 2016, 09:15:50 am
You'll need to register on the forum using your invoice number.