This can be seen as the initial state of the project after the released demo.
The changes include:
- New ship models
- Singleton manager structure to keep project scaleable in the future
- Managing players, their settings, character choices, statistics, match setups, controls etc. in a separate decoupled scene
- Main menu with transitions to the arena scene
- Beginnings of a custom audio solution
- Logging with Log4Net
It is really a complete overhaul of the projects structure and management.
17 lines
438 B
C#
17 lines
438 B
C#
#if PRIME_TWEEN_INSTALLED
|
|
using PrimeTween;
|
|
using UnityEngine;
|
|
|
|
namespace PrimeTweenDemo {
|
|
public class SqueezeAnimation : MonoBehaviour {
|
|
[SerializeField] Transform target;
|
|
Tween tween;
|
|
|
|
public void PlayAnimation() {
|
|
if (!tween.isAlive) {
|
|
tween = Tween.Scale(target, new Vector3(1.15f, 0.9f, 1.15f), 0.2f, Ease.OutSine, 2, CycleMode.Yoyo);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif |