<commit_before>﻿using System;
using System.Collections.Generic;
using UnityEngine;

class ZTween {

	/**
	 * That works:
	 * 
	 * .use(gameObject)
	 * .scaleTo(Vector3, time = 0, transition = Equations.none)
	 * .scaleFrom(Vector3)
	 * .moveTo(Vector3, time = 0, transition = Equations.none)
	 * .moveFrom(Vector3)
	 * .call(Action)
	 * .wait(time)
	 * 
	 * use(ref float)
	 * use(getter, setter)
	 * .
	 * //.play()
	 * //.pause()
	 * 
	 */

	/**
	 * Examples:
	 * .call(() => logDone("over"))
	 * // Getter/setter, for function pairs
	 * ZTween.use(getValue, setValue).valueTo(1.0f, 1, Easing.quadOut).call(() => logDone("value ok"));
	 * // Lambdas, for getter-setter or member pairs
	 * ZTween.use(() => testNum, x => testNum = x).valueTo(1.0f, 1, Easing.quadOut).call(() => logDone("value ok"));
	 */

	/*
	//transform.localScale = new Vector3(2, 2, 2);

	// http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html

	ZTween.get(gameObject).scaleTo(new Vector3(2, 2, 2), 1.0f, Equations.quadOut).wait(1).call(Func).set("visible", false).play();
	ZTween.get(gameObject).pause();
	ZTween.get(gameObject).resume();
	ZTween.get(gameObject).stop();
	ZTween.get(gameObject, loop, useTicks);
	*/

	#region ZTween static interface

	// Static properties
	private static ZTweenSurrogate tweenSurrogate;


	// ================================================================================================================
	// PUBLIC STATIC INTERFACE ----------------------------------------------------------------------------------------

	public static ZTweenGameObjectSequence use(GameObject gameObject) {
		return new ZTweenGameObjectSequence(gameObject);
	}
<commit_msg>Minor: update comments to reflect correct use<commit_after>﻿using System;
using System.Collections.Generic;
using UnityEngine;

class ZTween {

	/**
	 * That works:
	 * 
	 * .use(gameObject)
	 * .scaleTo(Vector3, time = 0, transition = Equations.none)
	 * .scaleFrom(Vector3)
	 * .moveTo(Vector3, time = 0, transition = Equations.none)
	 * .moveFrom(Vector3)
	 * .call(Action)
	 * .wait(time)
	 * 
	 * use(ref float)
	 * use(getter, setter)
	 * .
	 * //.play()
	 * //.pause()
	 * 
	 */

	/**
	 * Examples:
	 * .call(() => logDone("over"))
	 * // Getter/setter, for function pairs
	 * ZTween.use(getValue, setValue).valueTo(1.0f, 1, Easing.quadOut).call(() => logDone("value ok"));
	 * // Lambdas, for getter-setter or member pairs
	 * ZTween.use(() => testNum, x => testNum = x).valueTo(1.0f, 1, Easing.quadOut).call(() => logDone("value ok"));
	 */

	/*
	//transform.localScale = new Vector3(2, 2, 2);

	// http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html

	ZTween.use(gameObject).scaleTo(new Vector3(2, 2, 2), 1.0f, Easing.quadOut).wait(1).call(Func).set("visible", false).play();
	ZTween.use(gameObject).pause();
	ZTween.use(gameObject).resume();
	ZTween.use(gameObject).stop();
	ZTween.use(gameObject, loop, useTicks);
	*/

	#region ZTween static interface

	// Static properties
	private static ZTweenSurrogate tweenSurrogate;


	// ================================================================================================================
	// PUBLIC STATIC INTERFACE ----------------------------------------------------------------------------------------

	public static ZTweenGameObjectSequence use(GameObject gameObject) {
		return new ZTweenGameObjectSequence(gameObject);
	}

{'fraction_non_alphanumeric': 0.273050696709161, 'fraction_numerical': 0.013637711236288172, 'mean_word_length': 3.2227784730913642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1319731', 'n_tokens_mistral': 1175, 'n_tokens_neox': 1053, 'n_words': 204}