This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Asking for extra CPU time and heap for those really "heavy" orgs | |
@isTest class GetExtraLimitsForYourUnitTest implements Queueable { | |
@testSetup static void testSetup() { | |
Test.startTest(); // TIP: this avoids governor limits for your @isTest methods | |
System.enqueueJob(new GetExtraLimitsForYourUnitTest()); // We'll get async limits! | |
// P.S. Did you know that the end of a unit test method triggers async code, | |
// just as if you called Test.stopTest()? | |
} | |
public void execute(QueueableContext context) { | |
// I now have 60000ms to do my setup, instead of just 10000ms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// | |
// _____ _ _____ | |
// |_ _|_|___ _ _ |_ _|_ _ _ ___ ___ ___ | |
// | | | | | | | | | | | | | -_| -_| | | |
// |_| |_|_|_|_ | |_| |_____|___|___|_|_| | |
// |___| | |
// A Complete and Easy to use Tweens library in One File | |
// | |
// Basic use: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System; | |
public class Math3d { | |
private static Transform tempChild = null; | |
private static Transform tempParent = null; | |